package com.wing.purchase.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wing.utils.ExcelExport;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PurchaseDetailExportVO {

    /**
     * ID
     */
    private Long id;


    /**
     * 日期
     */
    @ExcelExport(value = "入库作业单编号", sort = 1)
    private String workNo;

    /**
     * 仓库
     */
    @ExcelExport(value = "入库物料编码", sort = 2)
    private String skuCode;

    /**
     * 物料名称
     */
    @ExcelExport(value = "入库物料名称", sort = 3)
    private String skuName;

    /**
     * 物料编码
     */
    @ExcelExport(value = "入库物料规格", sort = 4)
    private String skuSpec;

    /**
     * 物料规格
     */
    @ExcelExport(value = "入库仓库", sort = 5)
    private String warehouseName;


    /**
     * 数量
     */
    @ExcelExport(value = "数量", sort = 6)
    private String quantity;




    /**
     * 仓库编码
     */
    @ExcelExport(value = "仓库编码", sort = 7)
    private String warehouseCode;


    /**
     * 库区名称
     */
    @ExcelExport(value = "库区名称", sort = 8)
    private String warehouseAreaName;


    /**
     * 仓库编码
     */
    @ExcelExport(value = "库位编码", sort = 9)
    private String warehouseShelfSpaceCode;



    /**
     * 仓库编码
     */
    @ExcelExport(value = "入库时间", sort = 10)
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private String createTime;

}
